package com.example.api.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @program: api_limit
 * @description:
 * @author: Mr.chen
 * @create: 2020-02-18 19:07
 **/
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class GoffException extends Exception {
    private static final long serialVersionUID = 1L;
    private int errcode;
    private String errmsg;
    private String detailErrMsg; //详细错误信息

    public GoffException(int errcode,String errmsg) {
        this(errcode,errmsg,null);
    }
}
